/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-6-1 下午5:16 Created by lyyang
 */
package com.xunton.bss.weixin.api.coupon.pdu;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 卡卷基本信息
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-6-1 下午5:16
 */
public class BaseInfo implements Serializable
{
    @JsonProperty ("logo_url")
    private String logoUrl;

    @JsonProperty ("code_type")
    private String codeType;

    @JsonProperty ("brand_name")
    private String brandName;

    private String title;

    @JsonProperty ("sub_title")
    private String subTitle;


    private String color;

    private String notice;

    private String description;

    @JsonProperty ("date_info")
    private DateInfo dateInfo;

    private Sku sku;

    @JsonProperty ("location_id_list")
    private long[] locationIdList;

    @JsonProperty ("use_custom_code")
    private boolean userCustomCode;

    @JsonProperty ("bind_openid")
    private boolean bindOpenId;

    @JsonProperty ("can_share")
    private boolean canShare;

    @JsonProperty ("can_give_friend")
    private boolean canGiveFriend;

    @JsonProperty ("get_limit")
    private long getLimit = 1;

    @JsonProperty ("service_phone")
    private String servicePhone;

    private String source;

    @JsonProperty ("custom_url_name")
    private String customUrlName;

    @JsonProperty ("custom_url")
    private String customUrl;

    @JsonProperty ("custom_url_sub_title")
    private String customUrlSubTitle;

    @JsonProperty ("promotion_url_name")
    private String promotionUrlName;

    @JsonProperty ("promotion_url")
    private String promotionUrl;

    @JsonProperty ("promotion_url_sub_title")
    private String promotionUrlSubTitle;

    public String getLogoUrl()
    {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl)
    {
        this.logoUrl = logoUrl;
    }

    public String getCodeType()
    {
        return codeType;
    }

    public void setCodeType(String codeType)
    {
        this.codeType = codeType;
    }

    public String getBrandName()
    {
        return brandName;
    }

    public void setBrandName(String brandName)
    {
        this.brandName = brandName;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getSubTitle()
    {
        return subTitle;
    }

    public void setSubTitle(String subTitle)
    {
        this.subTitle = subTitle;
    }

    public String getColor()
    {
        return color;
    }

    public void setColor(String color)
    {
        this.color = color;
    }

    public String getNotice()
    {
        return notice;
    }

    public void setNotice(String notice)
    {
        this.notice = notice;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public DateInfo getDateInfo()
    {
        return dateInfo;
    }

    public void setDateInfo(DateInfo dateInfo)
    {
        this.dateInfo = dateInfo;
    }

    public Sku getSku()
    {
        return sku;
    }

    public void setSku(Sku sku)
    {
        this.sku = sku;
    }

    public long[] getLocationIdList()
    {
        return locationIdList;
    }

    public void setLocationIdList(long[] locationIdList)
    {
        this.locationIdList = locationIdList;
    }

    public boolean isUserCustomCode()
    {
        return userCustomCode;
    }

    public void setUserCustomCode(boolean userCustomCode)
    {
        this.userCustomCode = userCustomCode;
    }

    public boolean isBindOpenId()
    {
        return bindOpenId;
    }

    public void setBindOpenId(boolean bindOpenId)
    {
        this.bindOpenId = bindOpenId;
    }

    public boolean isCanShare()
    {
        return canShare;
    }

    public void setCanShare(boolean canShare)
    {
        this.canShare = canShare;
    }

    public boolean isCanGiveFriend()
    {
        return canGiveFriend;
    }

    public void setCanGiveFriend(boolean canGiveFriend)
    {
        this.canGiveFriend = canGiveFriend;
    }

    public long getGetLimit()
    {
        return getLimit;
    }

    public void setGetLimit(long getLimit)
    {
        this.getLimit = getLimit;
    }

    public String getServicePhone()
    {
        return servicePhone;
    }

    public void setServicePhone(String servicePhone)
    {
        this.servicePhone = servicePhone;
    }

    public String getSource()
    {
        return source;
    }

    public void setSource(String source)
    {
        this.source = source;
    }

    public String getCustomUrlName()
    {
        return customUrlName;
    }

    public void setCustomUrlName(String customUrlName)
    {
        this.customUrlName = customUrlName;
    }

    public String getCustomUrl()
    {
        return customUrl;
    }

    public void setCustomUrl(String customUrl)
    {
        this.customUrl = customUrl;
    }

    public String getCustomUrlSubTitle()
    {
        return customUrlSubTitle;
    }

    public void setCustomUrlSubTitle(String customUrlSubTitle)
    {
        this.customUrlSubTitle = customUrlSubTitle;
    }

    public String getPromotionUrlName()
    {
        return promotionUrlName;
    }

    public void setPromotionUrlName(String promotionUrlName)
    {
        this.promotionUrlName = promotionUrlName;
    }

    public String getPromotionUrl()
    {
        return promotionUrl;
    }

    public void setPromotionUrl(String promotionUrl)
    {
        this.promotionUrl = promotionUrl;
    }

    public String getPromotionUrlSubTitle()
    {
        return promotionUrlSubTitle;
    }

    public void setPromotionUrlSubTitle(String promotionUrlSubTitle)
    {
        this.promotionUrlSubTitle = promotionUrlSubTitle;
    }
}
